rem path=D:\Programs\_Develompent\jdk1_6_12\bin
set eclipse=D:\Programs\_Programming\Eclipse
rem set eclipse=D:\Programs\_Develompent\Eclipse

rem ### ### ### ### ### ### ### ### ### ### ### ###

set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Tests;

set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Outer\LaboratoryQ;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Base\Bond;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Base\Fleming;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\0-Mr-Connery\Connery;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\0-Mr-Connery\Thunderball;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\0-Mr-Connery\Goldfinger;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\1-Mr-Moore\Moore;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\1-Mr-Moore\Moonraker;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\1-Mr-Moore\Octopussy;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\1-Mr-Moore\AView2AKill;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\2-Mr-Brosnen\Brosnen;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\2-Mr-Brosnen\GoldenEye;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\2-Mr-Brosnen\TomorrowNeverDies;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\2-Mr-Brosnen\TheWorldIsNotEnough;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\3-Mr-Craig\CasinoRoyale;
set SOURCE_FOLDERS=%SOURCE_FOLDERS%..\Src\Experiments\3-Mr-Craig\Craig;

rem ### ### ### ### ### ### ### ### ### ### ### ###

mkdir ..\_Out
mkdir ..\_Out\Classes
mkdir ..\_Out\Jars

cd ..\_Out
erase *.jar /S
cd ..\
erase run-*.cmd /S
cd _Out
erase *.class /S
cd ..\CM

javac comp_coll.java -sourcepath %SOURCE_FOLDERS% -cp %eclipse%\plugins\org.junit4_4.3.1\junit.jar -d ..\_Out\Classes

cd ..\_Out\Classes
del comp_coll.class
jar cvf ..\Jars\jeconbond.jar * -M

rem xcopy %eclipse%\plugins\org.junit4_4.3.1\junit.jar ..\Jars\
copy %eclipse%\plugins\org.junit4_4.3.1\junit.jar ..\Jars\

erase *.class /S
cd ..\
rmdir Classes /S /Q

